<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Functions which untaint the tainted string</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="taint.detail.taint.html">Functions and statements which will check tainted string</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.taint.html">Taint 函数</a></div>
 <div class="up"><a href="taint.detail.html">More Details</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="taint.detail.untaint" class="section">
  <h2 class="title">Functions which untaint the tainted string</h2>
  <p class="para">
   <table class="doctable table">
    
    
      <col />
      <col />
     <thead>
      <tr>
       <th>Function</th>
       <th>Since</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>addslashes</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>addcslashes</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>htmlspecialchars</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>htmlentities</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>escapeshellcmd</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysql_escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysql_real_escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysqli_escape_string/MySQLi::escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>mysqli_real_escape_string/MySQLi::real_escape_string</td>
       <td>0.1.0</td>
      </tr>

      <tr>
       <td>sqlite_escape_string/SqliteDataBase::escapeString</td>
       <td>0.3.0</td>
      </tr>

      <tr>
       <td>PDO::quote</td>
       <td>0.3.0</td>
      </tr>

     </tbody>
    
   </table>

  </p>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="taint.detail.taint.html">Functions and statements which will check tainted string</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.taint.html">Taint 函数</a></div>
 <div class="up"><a href="taint.detail.html">More Details</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
